import crypto from 'crypto'

function md5(password) {
	let saltPassword = password + 'mly';
	let md5 = crypto.createHash('md5');
	let result = md5.update(saltPassword).digest('hex');
	return result;
}

export default md5